//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package cn.maxhou.sz0002;

import java.lang.reflect.Field;

public class PersonSetGet {
    public static void main(String[] args) {
        try {
            Class cls = Class.forName("cn.maxhou.entity.Person");
            Object person = cls.newInstance();
            Field name = cls.getDeclaredField("name");
            name.setAccessible(true);
            name.set(person, "侯天龙");
            System.out.println("人类的名称是: " + name.get(person));
        } catch (Exception e) {
            e.printStackTrace();
        }

    }
}
